package com.cskaoyan.javase.oop3._1interface._1basic;

import com.cskaoyan.javase.oop3._1interface._1basic.impl.InterfaceAImpl;

/**
 * @description: 访问接口中的成员
 * @author: wuguidong@cskaoyan.onaliyun.com
 **/

public class Test {
    public static void main(String[] args) {
        System.out.println(InterfaceA.A);
        System.out.println(InterfaceAImpl.A);

        /*InterfaceA ia = new InterfaceAImpl();
        ia.test();
        ((InterfaceAImpl) ia).testDefaultB();*/

        InterfaceAImpl is = new InterfaceAImpl();
        is.testDefault();
        is.testDefaultB();

        InterfaceA.testStatic();
        //InterfaceAImpl.test

    }
}
